package site.yunnong.atvris.common.utils;

/**
 * @Description id生成器工具类
 */
public final class IDUtils {

    private static IDGenerator iDGenerator = new IDGenerator();

    /**
     * 生成id
     * @return
     */
    public static Long getId() {
        return iDGenerator.nextId();
    }


    public static void main(String[] args) {
        getId();
    }
}
